/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 10-mar-2014, 9:06:06
    Author     : PC
*/
*{
    margin: 0px;
    padding: 0px;
}
html,body{
    width: 100%;
    height: 100%;
    margin: auto;
    font-family: 'Averia Sans Libre', cursive;
}

body p{
    margin-left: 50px;
    
}
.limpiador{
    clear: both;
}
.titulos{
    color:#FFF;
    font-size: 2em;
    margin: auto;
    text-align: center;
    background: #2a2c4f;
}

/*CSS HEADER*/
header{
    position: relative;
    width: 100%;
    height: 72px;
    background-color: #2a2c4f;
}
nav, #menu, #idioma, #entrar, #btn_out{
    float: right;
    height: 100%;
}
#menu{
    list-style: none;
}
#idioma li{
    display: inline;
}
#menu li{
    display: inline;
}
#menu li a{
    background-color: #2a2c4f;
    color: #FFF;
    float: left;
    height: 100%;
    line-height: 20px;
    text-decoration: none;
    padding: 0 10px;
    transition-property: background-color, color, line-height;
    transition-duration: .5s;
    -webkit-transition-property: background-color, color, line-height;
    -webkit-transition-duration: .5s;
    -o-transition-property: background-color, color, line-height;
    -o-transition-duration: .5s;
}
#menu li a:hover{
    color: #2a2c4f;
    background-color: #FFF;
    float: left;
    height: 100%;
    line-height: 120px;
    text-decoration: none;
}
#entrar{
    width: 72px;
    height: 100%;
    background-color: #79d420;
    font-weight: bold;
    color: #FFF;
    border: none;
    cursor: pointer;
}
#btn_out{
    width: 72px;
    height: 100%;
    background-color: #79d420;
    font-weight: bold;
    color: #FFF;
    border: none;
    cursor: pointer;
}
#btn_out:hover{
    opacity: 0.8;
}

#idioma{
    list-style-type: none;
    text-align: center;
    width: auto;
}
#idioma li{
    width: auto;
}
#idioma li a{
    color: #FFF;
    text-decoration: none;
    //height: 100%;
   // line-height: ;
    float: left;
    width: 50px;
}
#idioma li:first-child a{
    border-right: 2px solid #FFF;
}
#login{
    z-index: 100;
    background-color: #FFF;
    color: #000;
    width: 220px;
    height: auto;
    padding: 5px;
    position: absolute;
    top: 101%;
    right: 180px;
    margin-right: -80px;
    border: 1px solid #2a2c4f;
    box-shadow: 0 1px 5px 2px #999;
    border-radius: 3px;
}


#login input{
    margin-left: 10px;
    height: 25px;
}




#login input, #reg_rifa .campo_txt, #reg_rifa select, #fecha_sorteo, #descrip {
    margin-top: 15px;
    border: 2px solid #2a2c4f;
    padding-left: 10px;
    border-radius: 2px;
}


#login button{
    margin-top: 5px;
    width: 220px;
    height: 35px;
    border: none;
    background-color: #65c420;
    color: #FFF;
    font-size: 14px;
    font-weight: bold;
    border-radius: 2px;
}


#login button:hover, .boton2:hover {
    background-color: #79d420;
}


#login .campo_txt{
    width: 160px;
    height: 25px;
    padding-left: 10px;
    border-radius: 2px;
}
header .cabecera{
    width: 150px;
    float: left;
    margin: 10px 40px;
}
#btn_ajustes{
    width: 72px;
    float: right;
    height: 100%;
    background-color: #79d420;
}
#btn_ajustes:hover{
    opacity: 0.8;
}
#ajustes_user{
    position: absolute;
    top:101%;
    right: 98px;
    width: 150px;
    background: #FFF;
    height: auto;
    border: 1px #000 solid;
    border-radius: 3px;
    list-style: none;
}
#ajustes_user li{
    display: block;
    width: 150px;
    text-align: left;
    height: 35px;
}
#ajustes_user li a{
    margin: auto;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: #000;
    font-weight: bold;
}
#ajustes_user li:hover{
    background: #79d420;
}
#ajustes_user li a:hover{
    color: #FFF;
}

/*CSS CONTENEDOR*/
#contenedor{
    width: 100%;
    margin: auto;
    height: auto;
}
.boton_rifa{
    background: #2a2c4f;
    color: #FFF;
    padding: 15px;
    border-radius:5px;
    font-weight: bold;
    float: left;
}
.boton_rifa:hover{
    opacity: 0.7;
}
.img_productos{
    width: 100%;
}
article table{
    width: 90%;
    margin: auto;
    background:url("../sello1_rot.png");
    background-repeat: no-repeat;
    background-size: 8%;
    background-position:98%;
    box-shadow: #333 0 0 0.5em 0.2em;
    
    
}
article table td{
    border: #666 dotted 1px; 
}

.numPage{
    margin: 5px;
    padding: 10px;
    background: #2a2c4f;
    color:#FFF;
    font-weight: bold;
    text-decoration: none;
}
.numPage:after{
    background: #000;
}
#paginacion{
    width: 100%;
    text-align: center;
    margin: auto;
}

/*CSS PARA EL FORMULARIO DE REGISTRO DE USUARIOS*/
#form_registro{
    margin: auto;
    width: 60%;
    min-width: 300px;
    position: relative;
}
#form_registro input{
    margin-top: 2%;
    width: 72%;
    padding: 10px;
    text-align: center;
    font-size: 100%;
    font-weight: bold;
}
#form_registro select{
    margin-top: 2%;
    width: 24.3%;
    padding: 10px;
    text-align: center;
    font-size: 100%;
    font-weight: bold;
}
#btn_registrar{
    background: #2a2c4f;
    color: #FFF;
    margin-left: 10px;
}
.aviso{
    color: #ff0000;
    font-style: italic;
    margin-top: 2.5%;
    float: right;
}

/*CSS DEL FORMULARIO DE REGISTRO DE RIFAS*/
#reg_rifa label{
    margin-left: 20px;
    width: 180px;
    height: 30px;
    line-height: 30px;
}
#reg_rifa .campo_txt, #reg_rifa select, #fecha_sorteo {
    height: 30px;
}

#reg_rifa label, #reg_rifa input, #reg_rifa select, #reg_rifa textarea {
    margin-top: 15px;
    display: block;
    float: left;
}

.boton2{
    margin: 25px;
    width: 240px;
    height: 40px;
    border: none;
    background-color: #65c420;
    color: #FFF;
    font-size: 14px;
    font-weight: bold;
    border-radius: 2px;
}
#reg_rifa br{
    clear: both;
}

.buttonM{
    margin-top: 5px;
    width: 220px;
    height: 35px;
    border: none;
    background-color: #65c420;
    color: #FFF;
    font-size: 14px;
    font-weight: bold;
    border-radius: 2px;
}
.buttonM:hover, .boton2:hover {
    background-color: #79d420;
}

/*CSS PARA LOS FORMULARIOS DE LOS DATOS DE USUARIO*/
.datos_user{
    width: 50%;
    height: auto;
    margin: auto;
}
.datos_user form label{
    width: 150px;
    float: left;
}

/*CSS PARA ACTUALIZAR DATOS*/
#actualizar_datos{
    width: 70%;
    margin: auto;
}

/*CSS PARA MIS BOLETOS*/
.listarboletos{
    float: right;
    margin-top: 5px;
    width: 120px;
    height: 35px;
    border: none;
    background-color: #65c420;
    color: #FFF;
    font-size: 14px;
    font-weight: bold;
    border-radius: 2px;
}


.listarboletos:hover{
    background-color: #79d420;
}

/*CSS FOOTER*/
footer{
    position: relative;
    width: 100%;
    height: auto;
    background: url(../sello.svg) 20%;
    background-repeat: no-repeat;
    background-color: #2a2c4f;
    background-position: 70% 50%;
    box-shadow: 0 0 0.4em 0.2em #333;
    color:#FFF;
    padding-bottom: 10px;
}
.sec_footer{
    text-align: center;
    width: 33%;
}
#footer_izq{
    float: left;
}

#footer_centro{
    float: left;
}
#footer_dere{
    float:right;
}
header{
    color: #FFF;
}
#redes{
    margin: auto;
    width: auto;
    height: auto;
    position: relative;
}
#icos{
    width: auto;
    height: auto;
    margin: auto;
    position: relative;
}
.iconos{
    position: absolute;
    left:30%;
    width: 100px;
    float:left;
    transition: all .2s linear;
    -webkit-transition: all .2s linear;
}

#facebook{
    margin-top: 20px;
    transform:rotate(-135deg);
    -ms-transform:rotate(-135deg); /* IE 9 */
    -webkit-transform:rotate(-135deg); /* Opera, Chrome, and Safari */
}
#youtube{
    margin-left: 40px;
    transform:rotate(-105deg);
    -ms-transform:rotate(-105deg); /* IE 9 */
    -webkit-transform:rotate(-105deg); /* Opera, Chrome, and Safari */
}
#twitter{
    margin-left: 85px;
    transform:rotate(-75deg);
    -ms-transform:rotate(-75deg); /* IE 9 */
    -webkit-transform:rotate(-75deg); /* Opera, Chrome, and Safari */
}
#googleplus{
    margin-top: 20px;
    margin-left: 125px;
    transform:rotate(-45deg);
    -ms-transform:rotate(-45deg); /* IE 9 */
    -webkit-transform:rotate(-45deg); /* Opera, Chrome, and Safari */
}

#facebook:hover{
    margin-top: 0;
    margin-left: -20px;
}
#youtube:hover{
    margin-top: -20px;
    margin-left: 35px;
}
#twitter:hover{
    margin-top: -20px;
    margin-left: 90px;
}
#googleplus:hover {
    margin-top: 0;
    margin-left: 145px;
}
#g_maps{
    margin-top: 10px;
}

footer p{
    font-size: 14px;
    margin-left: 10%;
    margin-right: 10%;
}
footer h5{
    position: relative;
    text-align: center;
}
footer a{
    color: #FFF;
}
footer a:hover{
    text-decoration: none;
}

article table a{
    text-decoration: none;
    
    
}

#rifaindividual{
    margin-left: 50px;
    width: 50%;
}

.img_individual{
    width:400px;
    float: left;
    margin-right: 50px;
}

.img_individual_comprar{
    width: 200px;
    float: left;
    margin-right: 50px;
    margin-left: 50px;
}

#botones_comprar{
    width: 100px;
    float: right;
}

#comprarindividual{
    width: 40%;
    margin-left: 5%;
    margin-right: 5%;
    margin-bottom: 5%;
    margin-top: 1%;
    padding: 25px;
    background:#F5F5F5 ;
    font-size: 13px;
    float: left;
    

}

#compra{
    width: 20%;
    float: right;
    margin-right: 5%;
    background: #DAF4FA;
    padding: 1%;
    
}

#compra h5{
    color: #179EBF;
    float:left;
    
}

#total{
    font-size: 30px;
}

#boton_continuar{
    float: right;
    margin-top: 4%;
    margin-right: 4%;
    
}

#no_rifa{
    width: 30%;
    margin-left: 10%;
    
}

.search_class{
    float: left;
    margin-left: 10px;
    margin-right: 10px;
    
}
#seleccion_categoria{
    float:left;
}

#izq_fun{
    width:40%;
    float: left;
    margin-top: 5%;
    margin-left: 5%;
    margin-right: 5%;
    margin-bottom: 5%;
    background: #DAF4FA;
}

#der_fun{
    width: 40%;
    float: left;
    margin-top: 5%;
    margin-left: 5%;
    margin-right: 5%;
    margin-bottom: 5%;
    background: #DAF4FA;
}

.tit{
    text-align: center;
    margin-top: 25px;
    font-family: "calibri"
}

#cen{
    width: 70%;
    margin-left: auto;
    margin-right: auto;
}

#izq_fun p{
    font-family: "calibri";
    margin-left: 7%;
    margin-right: 7%;
    margin-bottom: 3%;
    text-align: justify;
    text-indent: 5%;  
}

#der_fun p{
    font-family: "calibri";
    margin-left: 7%;
    margin-right: 7%;
    margin-bottom: 3%;
    text-align: justify;
    text-indent: 5%;  
}
